<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title></title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/permission/user/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/permission/user/edit.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">
    <form id="form_user" method="post">

        <input type="hidden" name="id" value="${user.id}">
        <c:forEach var="userDepartment" items="${user.userDepartmentList}">
            <input type="hidden" name="userDepartment" value="${userDepartment.deptId}">
        </c:forEach>
        <input type="hidden" name="deptId" value="${param.deptId}">
        <input type="hidden" name="duties" value="${duties}">

        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">用户名:</label>
                    <input type="text" class="easyui-textbox" name="name" value="${user.name}"  data-options="required:true" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">姓名:</label>
                    <input type="text" class="easyui-textbox" name="realName" value="${user.realName}" data-options="required:true"   style="width: 240px;" title="">

                </div>
                <div class="form_one">
                    <label class="lable-style">用户编号:</label>
                    <input type="text" class="easyui-textbox" name="code" value="${user.code}" data-options="required:true"   style="width: 240px;"  title="">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">身份证号:</label>
                    <input type="text" class="easyui-textbox" name="userInfo.idcard" value="${user.userInfo.idcard}"  data-options="required:true" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">性别:</label>
                    <input type="text" class="easyui-textbox" name="userInfo.gender" value="${user.userInfo.gender}"  id="gender" value="1" data-options="required:true"   style="width: 240px;" title="">

                </div>
                <div class="form_one">
                    <label class="lable-style">出生日期:</label>
                    <input type="text" class="easyui-datebox" name="userInfo.birthday" value="${user.userInfo.birthday}" data-options="editable:false,required:true"  style="width: 240px;"  title="">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">岗位:</label>
                    <input type="text" class="easyui-textbox" name="postId" id="post_combo"  value="${user.postId}"  style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">职位:</label>
                    <input type="text" class="easyui-textbox" name="dutyId" id="duty"  style="width: 240px;"  title="">
                </div>

            </div>


        </div>
        <div class="information">
            <div class="information-title">
                <p>其他信息</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div>
                    <div class="form_one">
                        <label class="lable-style">工种大类:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.workBigTypeId" value="${user.userInfo.workBigTypeId}" id="workBigType"  style="width: 240px;" title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">工种小类:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.workSmallTypeId" value="${user.userInfo.workSmallTypeId}" id="workSmallType"    style="width: 240px;" title="">

                    </div>
                    <div class="form_one">
                        <label class="lable-style">专业大类:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.majorBigTypeId" value="${user.userInfo.majorBigTypeId}" id="majorBigType"   style="width: 240px;"  title="">

                    </div>
                </div>
                <div style="clear: both">
                    <div class="form_one">
                        <label class="lable-style">专业小类:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.majorSmallTypeId" value="${user.userInfo.majorSmallTypeId}" id="majorSmallType" style="width: 240px;" title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">行政级别:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.administrativeLevelId" id="administrativeLevel" value="${user.userInfo.administrativeLevelId}"   style="width: 240px;"  title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">职称:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.titleId" value="${user.userInfo.titleId}" id="title" style="width: 240px;"   title="">
                    </div>
                </div>
                <div style="clear: both">
                    <div class="form_one">
                        <label class="lable-style">婚姻状况:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.maritalStatus" id="maritalStatus" value="${user.userInfo.maritalStatus}" data-options="min:0,precision:2" style="width: 240px;" title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">启用状态:</label>
                        <input type="text" class="easyui-textbox" name="useState" id="useState" value="${user.useState}" style="width: 240px;"   title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">员工属性:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.employeeAttributesId" value="${user.userInfo.employeeAttributesId}" style="width: 240px;"   title="">
                    </div>
                </div>
                <div style="clear: both">
                    <div class="form_one">
                        <label class="lable-style">排序号:</label>
                        <input type="text" class="easyui-numberspinner" name="sort" value="${user.sort}" style="width: 240px;" title="">
                    </div>
                </div>
                <div style="clear: both">

                    <div class="form_two" style="width: 1100px">
                        <label class="lable-style">备注:</label>
                        <input class="easyui-textbox" data-options="multiline:true" name="remarks" value="${user.remarks}" style="height: 50px;width: 960px;" title=""/>
                    </div>
                </div>


            </div>


        </div>
        <div class="information">
            <div class="information-title">
                <p>扩展信息</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div>
                    <div class="form_one">
                        <label class="lable-style">电话:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.phone" value="${user.userInfo.phone}" style="width: 240px;" title="">
                    </div>
                    <div class="form_one">
                        <label class="lable-style">邮箱:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.email" value="${user.userInfo.email}"     style="width: 240px;" title="">

                    </div>
                    <div class="form_one">
                        <label class="lable-style">入职时间:</label>
                        <input type="text" class="easyui-datebox" name="userInfo.inductionTime" value="${user.userInfo.inductionTime}"  data-options="editable:false,required:true"  style="width: 240px;"  title="">

                    </div>
                </div>
                <div style="clear: both">
                    <div class="form_one">
                        <label class="lable-style">学历:</label>
                        <input type="text" class="easyui-textbox" name="userInfo.educationId"  value="${user.userInfo.educationId}"  id="education" style="width: 240px;" title="">
                    </div>

                </div>

            </div>
        </div>
    </form>

</div>

</body>
</html>
